package controleur;

import ihm.ihmFenetre;
import ihm.panelStation;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.WindowEvent;
import java.awt.event.WindowListener;
import java.sql.SQLException;

import javax.swing.JButton;
import javax.swing.JPanel;

import composant.constantesFonctionnelles;

public class listenerStation implements MouseListener {
	
	public panelStation stationPanel;
	JButton btnAfficherVelo;
	JButton btnChoisirVelo;
	
	public listenerStation (panelStation pstation, JButton btnChoix)
	{
		this.stationPanel = pstation;
		this.btnChoisirVelo = btnChoix;
	}


	@Override
	public void mouseClicked(MouseEvent e) {
		//
		String idVelo = ((JButton) e.getSource()).getName(); 
		//if (((JButton) e.getSource()).getName() ==)
	}

	@Override
	public void mouseEntered(MouseEvent e) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void mouseExited(MouseEvent e) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void mousePressed(MouseEvent e) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void mouseReleased(MouseEvent e) {
		// TODO Auto-generated method stub
		
	}

}